<template>
    <view class="main">
        <web-view :src="url"></web-view>
    </view>
</template>

<script setup lang="ts">
import { onLoad } from '@dcloudio/uni-app'
import { ref } from 'vue'
let url = ref<string>('')
onLoad((option) => {
    url.value = option?.url
})
</script>
<style lang="scss" scoped></style>